<div class="dynamic-tabs" style='width:100%;height: 100%;'>
    <div class="button-item">
        <button pButton type="text" class="ui-button-success" icon="fa fa-check" label="保存"
            (click)="saveForm()"></button>
        <button pButton type="text" class="ui-button-success" icon="fa fa-print" label="打印"
            (click)="printForm()"></button>
    </div>
    <div class="ui-g ui-g-12" style="height:100%;padding:0px;">
        <div class="ui-g ui-g-3 border-spe-right" style="height:100%;">
            <!-- 文书树状图 -->
            <p-tree [value]="forms" selectionMode="single" [filter]="true" filterMode="strict"
                (onNodeSelect)="nodeSelect($event)" [(selection)]="selectedForm" emptyMessage="无数据" [loading]="loading"
                [style]="{'padding':'0', 'height': '100%','width':'100%','border-style':'none'}">
            </p-tree>
        </div>
        <div class="ui-g ui-g-9" style="height:calc(100% - 50px);padding:0;">
            <!-- 文书填写详情 -->
            <fb-dynamic-form [mode]="2"></fb-dynamic-form>
        </div>
    </div>
</div>